// 初始化样式
* {
    margin: 0;
    padding: 0;
}

li,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background-color: #f6f7f8;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// 第二部分：search
.search {
    position: fixed;
    top: 0vw;
    left: 0;
    display: flex;
    width: 100vw;
    height: 12vw;
    background-color: #ffffff;
    margin: 12vw auto 0;
    z-index: 999;

    .left {
        width: 80vw;
        height: 8vw;
        margin: 2vw;
        border: none;
        outline: none;
        border-radius: 1vw;
        background-color: #f6f7f8;
        font: normal normal 3.6vw/8vw "Microsoft YaHei";
        text-indent: 2vw;
        color: #333;
    }

    .right {
        width: 14vw;
        height: 8vw;
        border: none;
        border-radius: 4vw;
        outline: none;
        background-color: #019fe6;
        color: #fff;
        margin: 2vw 2vw 2vw 0;
        font: normal normal 3.6vw/8vw "Microsoft YaHei";
    }
}

// 第四部分：主体部分 
.main {
    width: 100vw;
    margin: 26vw auto 10vw;

    .li_1 {
        display: block;
        width: 100vw;
        height: 26vw;
        margin: 3vw auto;
        background-color: #fff;
        color: #000;

        .title {
            position: relative;
            width: 100vw;
            height: 10vw;
            font: normal bold 4.2vw/10vw "Microsoft YaHei";
            text-indent: 16vw;

            &::before {
                content: "";
                position: absolute;
                top: 1vw;
                left: 5vw;
                width: 8vw;
                height: 8vw;
                background: url(../images/商家图片.png) no-repeat center;
                background-size: contain;
            }

            &::after {
                content: "查看详情 》";
                position: absolute;
                top: 0vw;
                right: 5vw;
                font: normal normal 4.2vw/10vw "Microsoft YaHei";
                color: #fcb118;
                // width: 10vw;
                // height: 10vw;
                // background: url(../images/向右.png) no-repeat center;
                // background-size: contain;
            }
        }

        .num1 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 16vw;
            color: #666;

            &::after {
                content: "30";
                position: absolute;
                top: 0vw;
                left: 20vw;
                font: normal normal 4vw/8vw "Microsoft YaHei";
                text-align: center;
                color: #019fe6;
            }
        }

        .num2 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 16vw;
            color: #666;

            &::after {
                content: "16";
                position: absolute;
                top: 0vw;
                left: 20vw;
                font: normal normal 4vw/8vw "Microsoft YaHei";
                text-align: center;
                color: #fcb118;
            }
        }

    }

    .li_2 {
        display: block;
        width: 100vw;
        height: 26vw;
        margin: 3vw auto;
        background-color: #fff;

        .title {
            position: relative;
            width: 100vw;
            height: 10vw;
            font: normal bold 4.2vw/10vw "Microsoft YaHei";
            text-indent: 16vw;

            &::before {
                content: "";
                position: absolute;
                top: 1vw;
                left: 5vw;
                width: 8vw;
                height: 8vw;
                background: url(../images/商家图片.png) no-repeat center;
                background-size: contain;
            }

            &::after {
                content: "查看详情  》";
                position: absolute;
                top: 0vw;
                right: 5vw;
                font: normal normal 4.2vw/10vw "Microsoft YaHei";
                color: #fcb118;
                // width: 10vw;
                // height: 10vw;
                // background: url(../images/向右.png) no-repeat center;
                // background-size: contain;
            }
        }

        .num1 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 16vw;
            color: #666;

            &::after {
                content: "30";
                position: absolute;
                top: 0vw;
                left: 20vw;
                font: normal normal 4vw/8vw "Microsoft YaHei";
                text-align: center;
                color: #019fe6;
            }
        }

        .num2 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 16vw;
            color: #666;

            &::after {
                content: "16";
                position: absolute;
                top: 0vw;
                left: 20vw;
                font: normal normal 4vw/8vw "Microsoft YaHei";
                text-align: center;
                color: #fcb118;
            }
        }

    }

    .li_3 {
        display: block;
        width: 100vw;
        height: 26vw;
        margin: 3vw auto;
        background-color: #fff;

        .title {
            position: relative;
            width: 100vw;
            height: 10vw;
            font: normal bold 4.2vw/10vw "Microsoft YaHei";
            text-indent: 16vw;

            &::before {
                content: "";
                position: absolute;
                top: 1vw;
                left: 5vw;
                width: 8vw;
                height: 8vw;
                background: url(../images/商家图片.png) no-repeat center;
                background-size: contain;
            }

            &::after {
                content: "查看详情 》";
                position: absolute;
                top: 0vw;
                right: 5vw;
                font: normal normal 4.2vw/10vw "Microsoft YaHei";
                color: #fcb118;
                // width: 10vw;
                // height: 10vw;
                // background: url(../images/向右.png) no-repeat center;
                // background-size: contain;
            }
        }

        .num1 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 16vw;
            color: #666;

            &::after {
                content: "30";
                position: absolute;
                top: 0vw;
                left: 20vw;
                font: normal normal 4vw/8vw "Microsoft YaHei";
                text-align: center;
                color: #019fe6;
            }
        }

        .num2 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 16vw;
            color: #666;

            &::after {
                content: "16";
                position: absolute;
                top: 0vw;
                left: 20vw;
                font: normal normal 4vw/8vw "Microsoft YaHei";
                text-align: center;
                color: #fcb118;
            }
        }

    }
}